package com.example.gzysmartcity.repository.model;

import java.util.List;

public class CityPark {

    /**
     * status : 200
     * message : SUCCESS
     * data : [{"id":1,"cityParkName":"停车场1","priceRate":5,"spaceNum":39},{"id":2,"cityParkName":"停车场2","priceRate":10,"spaceNum":15},{"id":3,"cityParkName":"停车场3","priceRate":5,"spaceNum":24}]
     */

    private int status;
    private String message;
    /**
     * id : 1
     * cityParkName : 停车场1
     * priceRate : 5
     * spaceNum : 39
     */

    private List<DataBean> data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        private int id;
        private String cityParkName;
        private int priceRate;
        private int spaceNum;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getCityParkName() {
            return cityParkName;
        }

        public void setCityParkName(String cityParkName) {
            this.cityParkName = cityParkName;
        }

        public int getPriceRate() {
            return priceRate;
        }

        public void setPriceRate(int priceRate) {
            this.priceRate = priceRate;
        }

        public int getSpaceNum() {
            return spaceNum;
        }

        public void setSpaceNum(int spaceNum) {
            this.spaceNum = spaceNum;
        }
    }
}
